package com.video.video.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.video.common.annotation.Excel;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

@Data
public class DCommissionRecordDto implements Serializable {

  @Excel(name = "获得返佣会员名称")
  private String uname;

  @Excel(name = "返佣会员名称")
  private String fname;

  @Excel(name = "订单号")
  private String oid;

  @Excel(name = "订单金额")
  private BigDecimal orderAmount;

  @Excel(name = "佣金比例")
  private BigDecimal commissionRate;

  @Excel(name = "返佣金额")
  private BigDecimal commissionAmount;

  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @Excel(name = "返佣时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
  private Date createTime;

}
